package org.oos.auth;

import java.io.IOException;
import java.util.List;

import org.oos.atom.AtomService.HttpStatusException;
import org.oos.dao.options.OptionsMap;

import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpContent;
import com.google.api.client.http.HttpResponse;
import com.google.api.client.http.HttpTransport;

public interface AuthenticationHandler {
	public boolean isAnonymous();

	public HttpResponse getResponse(HttpTransport transport, GenericUrl url,
			String method, HttpContent content, List<OptionsMap> parameters) throws IOException, HttpStatusException;
}
